package com.itheima.stock.mapper;

import com.itheima.stock.entity.StockRtInfo;
import com.itheima.stock.vo.IncreaseVO;
import com.itheima.stock.vo.InfoVO;
import com.itheima.stock.vo.MoreVO;
import com.itheima.stock.vo.OptionVO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author liwen
* @description 针对表【stock_rt_info(个股详情信息表)】的数据库操作Mapper
* @createDate 2024-10-31 20:43:56
* @Entity com.itheima.stock.entity.StockRtInfo
*/
public interface StockRtInfoMapper {

    List<StockRtInfo> selectByDateTimeDesc(LocalDateTime last);

    List<MoreVO> selectMore(LocalDateTime last);

    List<OptionVO> selectUpOrDown(@Param("begin") LocalDateTime begin,@Param("end") LocalDateTime end,@Param("flag") boolean b);

    List<InfoVO> selectStockUpDown(LocalDateTime last);

    void insertBatch(List<StockRtInfo> list);
}




